package com.ftg.learn.mybatis.chapter1.entity;

import lombok.Data;

/**
 * @author kangjx
 * @createTime 2022/10/9
 */
@Data
public class Dept {

    Integer deptno;

    String dname;

    String loc;

    public static void main(String[] args) {
        int a = 9;

        switch (a){
            case 0:
                if(a > 23){
                    System.out.println("a");
                }
                break;
            case 1:
                System.out.println("b");
                break;
            default:
                System.out.println("c");
        }
    }

}
